Skip to contentSkip to conversation

NVidia driver status

DISCUSSION Jacob Gorm Hansen 6 participants 7 messages Jan 30, 2007

lore
Share & tools
lore
#0 lore raw

hi,

being dissapointed a bit by ATI's support for Xen, I just purchased a top-of-the-line Dell box with an expensive NVidia graphics card, as rumour said they would work better than the ATI ones. Unfortunately, the NVidia installer detects that I am running Xen, and then refused to compile the kernel module, saying that Xen is not supported. Does anyone know of a way around this check, or have fresh experiences getting Xen and NVidia to play together?

Thanks,
Jacob

#1 lore raw

Xen-patch for the latest nvidia driver is in this thread->

http://www.nvnews.net/vbulletin/showthread.php?t=85037

I haven't tried it myself, yet, so I can't vouch for how well it works.

Quoted 11 lines · Jacob Gorm Hansen

hi,

being dissapointed a bit by ATI's support for Xen, I just purchased a top-of-the-line Dell box with an expensive NVidia graphics card, as rumour said they would work better than the ATI ones. Unfortunately, the NVidia installer detects that I am running Xen, and then refused to compile the kernel module, saying that Xen is not supported. Does anyone know of a way around this check, or have fresh experiences getting Xen and NVidia to play together?

Quoted 9 lines

Thanks,
Jacob

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw

I've tried this or a similar patch with the latest nvidia binary drivers and it works just fine fine.

IIRC the patch doesn't patch any of the scripts in the nvidia package but just compiling the kernel module against the xenlinux kernel worked fine. i installed the rest of the tools including the munging of xorg.conf under native linux so no use the same setup for linux and xen.

this is for an older version of the nvidia card (7300 LE, IIRC) and the latest driver.

rolf

From: [email protected] [mailto:[email protected]] On Behalf Of Trolle Selander
Sent: 30 January 2007 15:44
To: xen-devel
Subject: Re: [Xen-devel] NVidia driver status

Xen-patch for the latest nvidia driver is in this thread->

http://www.nvnews.net/vbulletin/showthread.php?t=85037

I haven't tried it myself, yet, so I can't vouch for how well it works.

On 1/30/07, Jacob Gorm Hansen <[email protected]> wrote:

hi,

being dissapointed a bit by ATI's support for Xen, I just purchased a top-of-the-line Dell box with an expensive NVidia graphics card, as rumour said they would work better than the ATI ones. Unfortunately, the NVidia installer detects that I am running Xen, and then refused to compile the kernel module, saying that Xen is not supported. Does anyone know of a way around this check, or have fresh experiences getting Xen and NVidia to play together?

Thanks,
Jacob

_______________________________________________
Xen-devel mailing list
[email protected] <mailto:[email protected]>
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#4 lore raw
Quoted 1 line · Jacob Gorm Hansen

I tried with the patch, and now have X running with glxgears at insane speeds :-) I am using Archlinux, so I used the ABS PKGBUILD script to get the library files installed in the right places.

-very- cool! I was just thinking, "Hmm, I wonder if I could run Xen on my new laptop with VT and a NVidia card"..

Now I just ned to wait for a Xen version that works with 2.6.20-rcX so I can get fully working suspend/resume/wireless, too. :)

------------------------------------------------------------------------

| nate carlson | [email protected] | http://www.natecarlson.com |
|       depriving some poor village of its idiot since 1981            |

------------------------------------------------------------------------

#5 lore raw
In reply to Jacob Gorm Hansen
Quoted 10 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Jacob Gorm Hansen
Sent: 30 January 2007 15:33
To: xen-devel
Subject: [Xen-devel] NVidia driver status

hi,

Quoted 9 lines

being dissapointed a bit by ATI's support for Xen, I just purchased a top-of-the-line Dell box with an expensive NVidia graphics card, as rumour said they would work better than the ATI ones. Unfortunately, the
NVidia installer detects that I am running Xen, and then refused to compile the kernel module, saying that Xen is not supported. Does anyone
know of a way around this check, or have fresh experiences getting Xen and NVidia to play together?

Now, there may be calls to say that I'm biased here, but I'm really not working with the ATI-side of AMD anyways, so:

The reason it refuses to compile the kernel module is probably more to do with the fact that the guys at nVidia KNOWS that it's not going to work anyways. If that's the case, it's not really much point in bypassing the check itself.

It's quite common for (graphics) driver code to make "nasty" stuff with memory addresses, use DMA for all sorts of weird and wonderfull things, and in general do things that aren't "xen-friendly". Most other drivers, for example, won't put a memory address inside a DMA buffer, that refers to a different area of memory that may not even be a DMA buffer in itself.

Just as an idea for "tricking": have you run strace on the installer to see how it figures out that you're on a Xen kernel? Is it using some xm-tool, the kernel name (-xen) or some other method. You may be able to bypass it once you know how it works... ;-)

--
Mats

Quoted 12 lines

Thanks,
Jacob

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#6 lore raw
Quoted 20 lines · Mats
Quoted 10 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Jacob Gorm Hansen
Sent: 30 January 2007 15:33
To: xen-devel
Subject: [Xen-devel] NVidia driver status

hi,

Quoted 9 lines

being dissapointed a bit by ATI's support for Xen, I just purchased a top-of-the-line Dell box with an expensive NVidia graphics card, as rumour said they would work better than the ATI ones. Unfortunately, the
NVidia installer detects that I am running Xen, and then refused to compile the kernel module, saying that Xen is not supported. Does anyone
know of a way around this check, or have fresh experiences getting Xen and NVidia to play together?

Quoted 7 lines

Now, there may be calls to say that I'm biased here, but I'm really not working with the ATI-side of AMD anyways, so:

The reason it refuses to compile the kernel module is probably more to do with the fact that the guys at nVidia KNOWS that it's not going to work anyways. If that's the case, it's not really much point in bypassing the check itself.

It works just fine on Xen kernels from what I can tell. There are 3rd party YUM repos which provide pre-compiled nvidia modules which work with the Fedora Xen kernels.

  $ uname -r
  2.6.19-1.2895.fc6xen
  $ cat /proc/modules | grep nvidia
  nvidia 7760984 32 - Live 0xffffffff8826b000 (P)

Now perhaps the RPM has been patched to make it compile on Xen, or perhaps it is just a bug in the installer script, but it does look like it works. In either case one should file support requests with NVidia directly since it is a closed source driver which means open source developers can't do much (if anything) to debug problems without risking getting tainted by/violating the licensing terms.

Dan.

Signature · 4 lines
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=|